package com.lianzai.shop.service.impl;

import com.lianzai.shop.dao.ShopTicketDao;
import com.lianzai.shop.model.Shop;
import com.lianzai.shop.model.ShopTicket;
import com.lianzai.shop.service.ShopTicketService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class ShopTicketServiceImpl implements ShopTicketService {
	@Autowired
	private ShopTicketDao shopTicketDao;

	@Override
	public List<ShopTicket> listByUserId(Long userId){
		return shopTicketDao.listByUserId(userId);
	}

}
